package ooday01;

public class Car {

    int price;
    String color;
    String brand;

    public Car(int price, String color, String brand) {
        this.price = price;
        this.color = color;
       this.brand  = brand;
    }

    void start(){
        System.out.println(brand+"品牌的"+color+"是价格"+price+"启动了");
    }
    void run(){
        System.out.println(brand+"品牌"+color+"颜色"+price+"是价格"+"开始跑了");
    }
    void stop(){
        System.out.println(brand+"品牌"+color+"颜色"+price+"是价格"+"停了");
    }



}
